<%@ page language="java" contentType="text/html; charset=ISO-8859-1" 
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login Page ChangeOver</title>
</head>
<body>
Login Page
<c:if test="${not empty param.error}">
	<font color="red"> Error
	: ${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message} </font>
</c:if>
<form method="POST" action="<c:url value='/j_spring_security_check' />" >
	<table>
		<tr>
			<td><label>Login</label>
			<td><input type="text" name="j_username"/></td>
		</tr>
		<tr>
			<td><label>Password</label>
			<td><input type="password" name="j_password"/></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit"
				value="Login" /></td>
		</tr>
	</table>
</form>
</body>
</html>